package com.usian.article.feign;

import com.usian.model.user.pojos.ApUserFollow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("leadnews-user")
public interface UserFeign {

    //查询关注
    @PostMapping("/api/v1/user/getFollow/{userId}/{followId}")
    ApUserFollow getFollow(@PathVariable Integer userId, @PathVariable Integer followId);
}
